package com.ruoyi.fly.mapper;

import com.ruoyi.fly.domain.AppletWithdraw;
import com.ruoyi.fly.domain.vo.AppletWithdrawSearchVo;
import com.ruoyi.fly.domain.vo.AppletWithdrawUpdateVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: wdf
 * @Date: 2024/6/15
 */
@Repository
public interface AppletWithdrawMapper {


    /**
     * 查询提现列表
     *
     * @param appletWithdrawSearchVo 提现
     * @return 提现集合
     */
    List<AppletWithdraw> selectAppletWithdrawList(AppletWithdrawSearchVo appletWithdrawSearchVo);


    /**
     * 提现审核
     *
     * @param appletWithdrawUpdateVo 提现
     * @return 结果
     */
    int updateAppletWithdraw(AppletWithdrawUpdateVo appletWithdrawUpdateVo);

    AppletWithdraw selectAppletWithdrawById(String id);

    List<AppletWithdraw> selectAppletWithdrawList2(AppletWithdrawSearchVo appletWithdrawSearchVo);

    int updateStatusByOrderCode(String orderCode);
}
